Fault Diagnosis in CPAP and NIPPV devices

ABSTRACT

A ventilation device for non-invasive positive pressure ventilation (NIPPV) or continuous positive airway pressure (CPAP) treatment of a patient has a gas flow generator, a gas delivery circuit optionally including a humidifier, a controller and sensors monitoring values of operational parameters of the device. The device further includes one or more relationships stored in data storage of the controller relating combinations of parameter values as being indicative of fault conditions of the device operation, the sensors and/or the fault detection process.

BACKGROUND OF THE INVENTION

[0001] This invention relates to ventilation devices such as non-invasive positive pressure ventilation (NIPPV) and continuous positive airway pressure (CPAP) devices which function to supply a patient with a supply of clean breathable gas (usually air, with or without supplemental oxygen) at a prescribed pressure or pressures at appropriate times during the patient's breathing cycle. The specification discloses a method and apparatus for fault diagnosis in such devices.

[0002] An example of a suitable device in which the invention may be included is the AutoSet™ device (ResMed Ltd., Australia), which may be used for treating sleep disordered breathing, such as Obstructive Sleep Apnea (OSA), as described in U.S. Pat. No. 5,704,345 (Berthon-Jones).

[0003] A NIPPV or CPAP device typically includes a flow generator, an air filter, a mask, an air delivery conduit connecting the flow generator output to the mask, various sensors and a microprocessor-based controller. The flow generator may include a servo-controlled motor and an impeller. The sensors measure, among other things, motor speed, gas volumetric flow rate and pressure. The air delivery circuit is that portion of the device's airflow path comprising the air inlet, the filter, the flow generator, the conduit and the mask. The device may optionally include a humidifier in the air delivery circuit. The controller may include data storage means.

[0004] One problem compromising the effective operation of such devices is that with time, the air inlet filter may become dirty, increasing the filter's resistance to the flow of air. It is known to provide a warning light which is activated after a given number of hours of operation of the device, to indicate that the filter should be cleaned or replaced. Such an approach does not take into account the fact that the rate of accumulation of dirt on the filter will depend on the environment in which the device is used. It may also be found that the patient may continue to use the device despite the warning light and thereby receive inadequate therapy. Importantly, the air delivery circuit may become partly or completely blocked for other reasons, without a warning being given.

SUMMARY OF THE INVENTION

[0005] At a given rotational speed of the motor, and a given air delivery circuit pneumatic impedance, the flow generator will deliver gas at a particular pressure. By measuring the resultant pressure for a range of motor speeds, for different circuit impedances, and with and without the humidifier, characteristic curves of the device may be obtained. If then the values of motor speed, flow rate and pressure are measured by transducers during operation of the device, the current pneumatic impedance may be calculated from the appropriate characteristic curve. It is therefore possible to estimate the resistance of the air filter and thus more accurately indicate when the filter needs changing. Furthermore, partial or complete blockage of the air delivery circuit will also be capable of detection by such an arrangement.

[0006] An acceptable range of measured pressure values may be calculated for a given set of conditions, defined, for example, by upper and lower characteristic curves. The motor speed may be increased to maintain an acceptable output pressure as a response to increased impedance, while a pressure outside an acceptable range may be indicative of the need to replace the filter.

[0007] Such an arrangement relies on the transducers providing correct information regarding the monitored parameters, and in accordance with preferred forms of the invention the existence of transducer fault conditions is also responded to by the system.

[0008] The invention therefore broadly resides in a method or apparatus in which, in each case, acceptable and unacceptable regions for transducer values are chosen. During operation of the device, the transducer values are measured and compared with the predetermined regions. When the transducers are in unacceptable regions, corrective action is taken, for example, by issuing a warning of the fault or shutting down the device.

[0009] Thus, in one form, the present invention provides apparatus for supplying breathable gas to a patient, including a gas flow generator, a gas delivery circuit, a controller having data storage means, sensors monitoring values of operational parameters of the apparatus, and fault detection means including at least one relationship stored in said data storage means, said relationship relating a combination of values of at least two of said parameters as indicative of a fault condition of said apparatus, said fault detection means further including means testing said at least two said monitored operational parameter values against said stored relationships and instigating a response upon detection of a fault condition.

[0010] Preferably, said monitored parameters include at least motor speed of the flow generator, gas flow rate and gas delivery circuit pneumatic pressure.

[0011] In the practice of this aspect of the invention, a device embodying the invention will before clinical use be subjected to a calibration routine in which the motor speed and air delivery circuit pneumatic pressure are varied, while measuring pressure and flow rate. From these measurements characteristic curves are determined and stored in the data storage means associated with the controller.

[0012] During clinical use, flow rate, pressure and speed are monitored. The appropriate characteristic curves and acceptable range of pressure are selected for the current set of operating conditions. The measured pressure is tested against the acceptable range, and if it lies outside that range, a fault is asserted. If a fault is asserted, an error message may be given on the output screen, an alarm given, or the machine may be shut down.

[0013] In other embodiments of the invention, all of the transducers (such as snore, flow and speed transducers) are tested against predetermined characteristic curves for fault conditions.

[0014] Further embodiments are described below in relation to CPAP apparatus, but will be understood as being applicable to any of the above described forms of ventilatory treatment or assistance.

BRIEF DESCRIPTION OF THE DRAWINGS

[0015] FIGS. 1(a) to (d) illustrate possible configurations of a device employing a humidifier and a loop back box.

[0016]FIG. 2 CPAP Apparatus

[0017]FIG. 3 Desirable operating region for blower (a) high speed, and (b) low speed

[0018]FIG. 4 Computer software block diagram

[0019]FIG. 5 Pressure transducer fault regions

[0020]FIG. 6 Flowchart: Detect pressure transducer stuck low

[0021]FIG. 7 Flowchart: Detect pressure transducer stuck high

[0022]FIG. 8 Flowchart: Detect flow transducer stuck low

[0023]FIG. 9 Flowchart: Detect flow transducer stuck high

[0024]FIG. 10 Flowchart: Detect snore transducer stuck low

[0025]FIG. 11 Flowchart: Detect snore transducer stuck high

[0026]FIG. 12 Flowchart: Detect speed transducer stuck low

[0027]FIG. 13 Flowchart: Detect speed transducer stuck high

[0028]FIG. 14 Flowchart: Detect stalled motor

[0029]FIG. 15 Flowchart: Detect restricted motor

[0030]FIG. 16 Software fault diagnosis regions

[0031]FIG. 17 Flowchart: Software fault diagnosis

[0032] In the figures, the “D” symbol is a logical “and”, the rectangle symbol is a block of code. The triangle symbol is a comparator, if the conditions are met, then the output is a logical “1”, otherwise “0”.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0033] An example of a problem solved by the present invention is provided by the Applicant's AutoSet® T device, which is provided with a “loop back” box which facilitates the optional connection of a humidifier into the air delivery circuit upstream of the pressure transducer. The arrangement is described in co-pending Australian patent application No. 71978/98 filed 18 Jun. 1998 and is schematically illustrated in FIGS. 1(a) to (d) hereof.

[0034] FIGS. 1(a) and (b) show the correct manner in which the loop back box and the humidifier are intended to be connected. In FIG. 1(a) the humidifier is not used, and the loop back box connects the flow generator (F) to the internal conduit where the pressure sensor (T) is located. The mask (M) is connected to its outlet downstream of the pressure sensor.

[0035] Typically the ventilatory assistance for CPAP or NIPPV treatment is delivered to the patient by way of nasal mask. Alternatively, a mouth mask, a full face mask or nasal prongs can be used. In this specification, any reference to a mask is to be understood as incorporating a reference to a nasal mask, mouth mask, full face mask or nasal prongs.

[0036] In FIG. 1(b) the humidifier (H) replaces the loop back box and gas correctly flows from the flow generator, through the humidifier, past the pressure transducer and thus to the mask.

[0037] In order that the AutoSet® device be compatible with a large range of standard tubing, humidifiers and masks, the outlets all have the same size and shape. It is therefore possible to assemble the equipment incorrectly, as shown in FIGS. 1(c) and (d). In FIG. 1(c) neither the loop back box nor the humidifier is used, and the mask is attached directly to the outlet of the flow generator, thus by-passing the pressure sensor. In FIG. 1(d) the mask receives no pressurised air. In either of these situations the pressure transducer will give an incorrect indication of mask pressure and this may lead to a dangerous overpressure in an automatically adjusting device.

[0038] By monitoring the pressure transducer output in conjunction with motor speed this dangerous condition can be detected and responded to. Boundary conditions of high motor speed and low pressure, and low motor speed and high pressure, may be chosen as indicators of a fault condition. The same conditions can also be used to assert a fault in the case of a defective pressure transducer, and are described later in relation to FIGS. 6 and 7.

[0039] A similar approach enables a stalled motor condition to be catered for in the NIPPV device without the use of devices such as fuses. A stalled motor will not generate any pressure, and the feedback control loop to the servo unit will cause an increase in motor current. Conventionally, a fuse or other cut-out device will be required to protect the motor from overheating. If however, the motor parameters of motor speed and a motor drive parameter such as a function derived from current are monitored, a fault condition may be established. For example, if the motor parameter is greater than 80% and the motor speed remains below 4,500 rpm for 0.2 seconds, a “Stalled Motor” condition exists. A “Restricted Motor” condition can also be defined, for example where the motor parameter exceeds 95% and the motor speed is lower than 15,000 rpm, for at least 30 seconds.

[0040] The corrective action in these cases is to disable the motor and otherwise disable operation of the machine until service can be performed, this mode being termed the “service required” mode.

[0041] Malfunction of the motor speed transducer will impact on the detection of motor stall, and on other fault detection functions which will be described below. In this specification there is therefore also described the manner in which the invention may be applied to the detection of motor speed transducer failure.

[0042] It will be seen that the invention can be put into effect with appropriate software, using the control electronics already provided in the machine, and therefore represents an economical solution to the diagnostic objectives.

ADVANTAGES OF THE INVENTION

[0043] The invention has a number of advantages over the prior art. Firstly, safety can be improved. The greatest proportion of CPAP treatment apparatus are for use in a non-clinical setting, in which environment a user is untrained to detect conditions indicative of faults. Such fault conditions can lead to the CPAP treatment apparatus being ineffective or even dangerous. For example, the flow generators used in certain modem CPAP treatment apparatus are capable of delivering pressures in excess of 30 cm H₂O, which may be required in certain situations, but excessive and potentially dangerous in others.

[0044] The costs, both direct and associated, of CPAP treatment apparatus which include the invention can be reduced. Certain hardware such as fuses and other analogue circuitry may no longer be required. Furthermore, it becomes cheaper for technicians to diagnose faults since the device may be interrogated by interfacing with the controller, reducing the need to remove casing during service. Interfacing may be done locally or remotely, for example through a network. In a clinical setting, this may have the further advantage of reducing patient disturbance.

[0045] In the CPAP treatment device with fault diagnosis, useability is improved. It becomes possible to provide fault diagnosis and rectification information to those without clinical or technical skills.

[0046] The invention may also be used to predict more accurately when faults may occur, for example, to predict when a flow generator air inlet filter may need changing, based on measurements of the motor load.

[0047] In the specification, any reference to “operating parameters” is to be understood to relate to any form of data or state signal, transducer or actuator, and the mechanical and electrical functions of component elements/apparatus of a CPAP apparatus. Any reference to “process” is to be understood to mean a unit of hardware and/or software which can perform a task or set of related tasks, for example, a fault detection process, a feedback control process, a pressure measurement process or a flow measurement process.

[0048] Following the diagnosis of a current or potential fault occurring, the response may be one or more of the following: issuing a warning of the fault condition, recording a diary entry describing the fault condition, adjusting operating parameters and switching between the functional and stand-by or stop modes, or switching the device to a service-required mode. The response may be immediate, or at some later period, for example, the morning following the sleep period during which the device was used.

[0049]FIG. 2 shows a simplified schematic of a typical CPAP treatment apparatus. An impeller (1) is powered by an electric motor (2) using a servo (3) under the direction of a microprocessor-based controller (4). The supply of breathable gas is carried to the mask (5) through a flexible conduit (6). The apparatus has various switches (7), displays (8) and a number of transducers. The transducers monitor a number of processes, for example: volumetric flow rate (10) (at a predetermined point in the flow path), pressure (11) (at a predetermined point downstream of the flow generator outlet or at the mask), snore (12), flow generator rotational speed (13) and motor parameter (14).

[0050] The Concept of an Acceptable Region: Hardware Operation

[0051] There may be a relationship between the measured blower flow rate, f, and the measured blower output pressure, p, such that f decreases when p increases. It may be desired that for acceptable operation of the device, the parameter values be kept in a certain region. The function R for that process may be written:

R=R(f, p)

[0052] Distinct functions may be determined for different conditions, for example, high and low motor speeds, as shown in FIGS. 3a and 3 b. Alternately, the acceptable region could be defined by a 3-parameter model, R=R (f, p, ω), where ω is motor speed.

[0053] Example of a Logical Test

[0054] In a simple case, the acceptable region may be a rectangle, defined by two values of flow f₁ and f₂ and two values of pressure, p₁ and p₂. If the estimates of the parameter values were {f, p} then the test to diagnose a current fault may be, for example:

[0055] If p>p₁ and p<p₂ and f>f₁ and f<f₂ then the current operation region lies within the acceptable range.

[0056] Alternatively, the method may diagnose a fault if {f, p} lay outside the acceptable range for an instant, or lay outside the desirable range for some duration.

[0057] Computer Software Block Diagram

[0058] Advantageously, the invention is implemented in software. In this case, no additional hardware is needed. The fault detection software processes may be executed in conjunction with existing software. This is shown in FIG. 4. The inputs to the controller (4) are analogue electronic signals indicative of the value of various sensors, transducers and other electronic circuitry. These are converted to digital signals. The hardware parameter values (41) are passed to one or both of the normal computer software processes (44) (for example, feedback control processes) and the fault diagnosis processes (43). Further parameters may be generated (42) (for example, flags) indicative of the operation of each of the software processes, and passed back into one or both of the software processes. In addition, the processes may generate hardware instructions (45) (for example, information to be displayed, or directions to shut down the operation of the CPAP device) which are converted to analogue electronic signals and passed to the relevant hardware.

[0059] Fault diagnosis of each apparatus process may be executed as a distinct software process, or several apparatus processes may be monitored within a single software process.

PREFERRED MODE OF OPERATION

[0060] Processes Monitored

[0061] In the preferred mode of carrying out the invention, in each device, a plurality of processes are monitored. These include:

[0062] Pressure transducer operation

[0063] Flow transducer operation

[0064] Snore transducer operation

[0065] Speed transducer operation

[0066] Motor operation

[0067] Breath and Apnea detection algorithms

[0068] Fault diagnosis process operation

[0069] Air filter operation

[0070] Correct assembly of air delivery circuit

[0071] Modes of fault diagnosis for these processes are described in the following sections.

[0072] Pressure Transducer

[0073] The invention may be used to detect whether the pressure transducers are correctly operating. A consequence of a failure of a pressure transducer (11) could be overpressure or under-pressure to the mask and thus the patient. To detect such a failure condition, the transducer pressure is monitored (11) together with motor speed (13). The regions of faulty device operation are shown in FIG. 5. Logical flowcharts indicating the decision process are shown in FIGS. 6 and 7.

[0074] If the sensed pressure remains below 2.0 cm H₂O (62) while the motor speed is above 12,000 rpm (61) for at least 0.3 seconds (65), a fault condition is signalled as a “Pressure Transducer Low” failure (66). If neither condition is satisfied, a timer is reset (64).

[0075] In a similar way, if the pressure value remains above 15 cm H₂O (72) while the motor speed is below 4,500 rpm (71) for at least 0.3 seconds (75), that corresponds to a “Pressure Transducer High” failure (76). On detection of either form of pressure transducer failure, corrective action is taken to disable power to the motor (2) and a notification is given on a display. The user may then check all components in the air delivery circuit for an obstruction or an incorrect connection.

[0076] An additional embodiment is used for the pressure transducer fault diagnosis mode in conjunction with motor speed. The output from the pressure transducer is split into two signals. One signal, P_(high) remains unfiltered, whilst the other signal is low-pass filtered to become P_(low). Each signal is tested to yield an output of “Pressure Transducer High”, “Pressure Transducer Low” or “ok”. The conditions for “high” and “low” are as described above. A signal which is neither high nor low is deemed to be ok. Unless the test result for both signals is “ok”, a fault condition will be signalled. If the test result for both signals is “low”, the fault condition is taken as an indication that the hoses are not connected.

[0077] Flow Transducer

[0078] A failure of the flow transducer (10) can cause errors in flow measurement, mask pressure measurement and signal processing (such as inspiratory flow flattening index, as taught in U.S. Pat. No. 5,704,345). This in turn may result in errors in the delivery pressure from the flow generator (1), compromising the efficacy of treatment.

[0079] Logical flowcharts indicating the decision process are shown in FIGS. 8 and 9.

[0080] To detect such a fault, the flow transducer (10) signal is monitored together with motor speed (13). If the flow remains below 5% full scale deflection (f.s.d.)(82) while the motor speed is less than 4,800 rpm (81) for more than five seconds (85), the fault condition is signalled as “Flow Transducer Low” failure (86). If neither condition is satisfied the counter is reset (84). In a similar manner, if the flow generator flow remains above 95% f.s.d. (92) with the motor speed less than 4,800 rpm (91) for more than 5.0 seconds (95), the fault of “Flow Transducer High” is signalled (96).

[0081] On occurrence of either fault condition, the patient is notified on a display, and in addition, the mask pressure will be increased over some time, for example, five minutes, to a predetermined level, in this case, the 95% centile of the previous session.

[0082] However if that pressure value would be invalid by representing a dangerous overpressure, the pressure will be limited to 10 cm H₂O.

[0083] Snore Transducer

[0084] A failure of the snore index transducer can cause errors in the snore measurement and the calculated snore index. Such errors result in consequential errors in the treatment pressure delivered by the flow generator (1), again possibly compromising the efficacy of treatment. Logical flowcharts indicating the decision process are shown in FIGS. 10 and 11.

[0085] To detect a failed snore transducer the snore transducer signal (12) and motor speed (13) are sampled. If the snore index signal remains below 5% f.s.d. (102) with the motor speed greater than 11,000 rpm (101) for more than two seconds (105), a “Snore Transducer Low” failure is signalled (106). If neither condition is satisfied the counter is reset (104). If the snore transducer (12) signal remains above 95% f.s.d. (112) while the motor speed is less than 6,000 rpm (111) for more than two seconds (115) a “Snore Transducer High” failure mode occurs (116).

[0086] The corrective action that can be taken is to notify the user of the occurrence and, if the flow generator (1) is generating a pressure, attempt to increase the pressure over some time, for example 5 minutes, to a predetermined level, for example, the 95% centile of the previous session. If that pressure value is invalid by representing a dangerous overpressure, the pressure will be limited to 10 cm H₂O.

[0087] Motor Speed Transducer

[0088] An incorrect motor speed may impact upon functions arising from the pressure transducer (11), flow transducer (10) and snore transducer (12). Logical flowcharts indicating the decision process are shown in FIGS. 12 and 13. Detection of a failure of the motor speed transducer (13) is achieved by monitoring the speed (13) together with the sensed pressure (11) and flow (10) and the motor drive parameter (14). If the motor speed remains below 6,000 rpm (121) while the motor drive parameter is above 15% (122) and either the pressure is above 8.0 cm H₂O (123) or (125) the flow is greater than 75% f.s.d. (124), this set of conditions being true for more than one second (128), then a “Motor Speed Low” failure is signalled as occurring (129). If any of the conditions are not met, the counter is reset (127).

[0089] If the motor speed remains above 18,000 rpm (131) while the motor drive is below 5% (132) and (136) either the pressure is below 2.0 cm H₂O (133) or (135) the absolute flow is less than 10 l/min (134) for more than one second (138), a “Motor Speed High” failure is signalled as occurring (139).

[0090] The corrective action that can be taken is to notify the user of the occurrence and, if the flow generator (1) is generating a pressure, attempt to increase the pressure over some time, for example 5 minutes, to a predetermined level, for example, the 95% centile of the previous session. If that pressure value is invalid by representing a dangerous overpressure, the pressure will be limited to 10 cm H₂O.

[0091] Motor

[0092] As noted earlier, a stalled motor will not generate any pressure. Such a condition can occur if the impeller (1) is jammed, for example. The feedback control loop from the flow generator (1) to the servo unit (3) will cause an increase in the power delivered to the motor (2), the increase continuing until maximum power is supplied. A consequence can be overheating of the motor to the extent that insulation or windings fail and the motor must be replaced. Flowcharts describing the operation for “stalled” and “restricted” motor are shown in FIGS. 14 and 15 respectively.

[0093] A motor failure condition is detected by monitoring the motor speed (13) and motor drive parameter. If the motor parameter is greater than 80% (142) and (143) the motor speed remains below 4,500 rpm (141) for 0.2 seconds (145), a “Stalled Motor” condition exists (146). If any of the conditions are not met, the timer is reset (144). In a similar way, if the motor parameter exceeds 95% (152) and the motor speed is lower than 15,000 rpm (151), occurring for more than 30 seconds (155), then a “Restricted Motor” condition exists (156).

[0094] The corrective action is to disable power to the motor and otherwise disable operation of the machine until a service can be performed, this mode being termed the “service-required” mode.

[0095] Pneumatic Performance

[0096] In another embodiment, the method may be used to check the overall pneumatic, or air delivery, performance of the apparatus. The relevant regions are shown in FIG. 3, being the desired operating region ζ_(d) and fault regions ζ_(f1), ζ₂. The operating regions are a function of pressure (p), flow (f) and motor speed (ω). If, the operational state of the device lies in region ζ^(f1), there are several possible causes:

[0097] Dirty filter

[0098] Internal air path blockage in the CPAP apparatus

[0099] Leak in the internal air path of the CPAP apparatus

[0100] Flow generator failure

[0101] Faulty speed sensor

[0102] Faulty flow sensor

[0103] Faulty pressure sensor

[0104] Possible responses include:

[0105] Issuing a warning advising that the filter needs changing

[0106] Switching the apparatus to service-required mode

[0107] If the operational state of the device lies in region ζ_(f2), there are several possible causes:

[0108] Faulty speed sensor

[0109] Faulty flow sensor

[0110] Faulty pressure sensor

[0111] The response would be to switch the device to the service required mode.

[0112] The embodiments described earlier may be used in conjunction with the current embodiment, to distinguish which of the sensors may be faulty.

[0113] Fault Diagnosis Operation

[0114] The events “pressure transducer stuck high” and “pressure transducer stuck low” are mutually exclusive. Similarly the flow, snore and motor speed transducers have mutually exclusive conditions. In another embodiment of the invention, the fault diagnosis processes tests whether mutually exclusive conditions have been deduced and signals an error in fault diagnosis if that event occurs.

[0115] Breath and Apnea Detection Processes

[0116]FIG. 16 shows the operating regions for the breath and apnea detection processes. These processes detect the presence of breathing by the user and the occurrence of apneas, these two events being mutually exclusive. During normal operation of the CPAP device, either one or the other of these events ought to be detected. In this case, these two events lie within non-intersecting regions of ζ_(d) (FIG. 16). If the current operating region of the device lies outside both these two regions, then some kind of error has occurred and an error is asserted. A flowchart for this fault detection process is shown in FIG. 17. While the device is operating the “Breath Detection” and “Apnea Detection” processes are monitored. The fault detection process will assert a fault when either of the following two conditions occur:

[0117] Apnea and Breath are asserted simultaneously

[0118] Neither Apnea nor Breath are asserted for a predetermined period.

[0119] While particular embodiments of this invention have been described, it will be evident to those skilled in the art that the present invention may be embodied in other specific forms without departing from the essential characteristics thereof. The present embodiments and examples are therefore to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. 

1. Apparatus for supplying breathable gas to a patient, including a gas flow generator, a gas delivery circuit, a controller having data storage means, sensors monitoring values of operational parameters of the apparatus, and fault detection means including at least one relationship stored in said data storage means, said relationship relating a combination of values of at least two of said parameters as indicative of a fault condition of said apparatus, said fault detection means further including means testing said at least two said monitored operational parameter values against said stored relationships and instigating a response upon detection of a fault condition.
 2. Apparatus according to claim 1 wherein said monitored parameters include at least motor speed of the flow generator, gas flow rate and gas delivery circuit pneumatic pressure.
 3. Apparatus according to claim 1 wherein the gas delivery circuit includes a gas inlet, a gas filter, the flow generator, a patient mask and a gas delivery conduit connecting the flow generator output to the mask.
 4. Apparatus according to claim 3 wherein the gas delivery circuit is adapted for optional addition of a humidifier.
 5. Apparatus according to claim 1 wherein the apparatus is adapted to provide CPAP or NIPPV treatment to the patient.
 6. Apparatus according to claim 2 wherein said stored relationship relates a combination of values of gas delivery circuit pneumatic pressure, gas flow rate and motor speed as indicative of a pneumatic impedance fault condition of said gas delivery circuit.
 7. Apparatus according to claim 6 wherein said stored relationship includes calibration data relating pneumatic impedance against said pressure and gas flow rate at a range of motor speeds.
 8. Apparatus according to claim 7 wherein said comparing means tests the combination of monitored pressure and monitored gas flow against calibration data applicable to the monitored motor speed.
 9. Apparatus according to claim 2 wherein said stored relationship relates a combination of values of at least two of said parameters as indicative of a fault condition of at least one of said sensors.
 10. Apparatus according to claim 9 wherein said stored relationship relates a combination of said pressure and gas flow rate as indicative of a pressure transducer fault condition.
 11. Apparatus according to claim 9 wherein said stored relationship relates a combination of said gas flow rate and motor speed as indicative of a flow transducer fault condition.
 12. Apparatus according to claim 9 wherein said stored relationship relates a combination of said motor speed and output of a snore index transducer as indicative of a snore index transducer fault condition.
 13. Apparatus according to claim 9 wherein said stored relationship relates a combination of said motor speed, pressure, gas flow rate and a monitored motor drive parameter as indicative of a motor speed transducer fault condition.
 14. Apparatus according to claim 13 wherein said monitored motor drive parameter is a function of motor current.
 15. Apparatus according to claim 2 wherein said stored relationship relates a combination of said motor speed and a monitored motor drive parameter as indicative of a motor operation fault condition.
 16. Apparatus according to claim 15 wherein said monitored motor drive parameter is a function of motor current.
 17. Apparatus according to claim 1 wherein said fault detection means detects a fault diagnosis process fault condition upon simultaneous assertion of two or more mutually exclusive fault conditions.
 18. Apparatus according to claim 17 wherein said fault detection means detects a breath and apnea detection process fault condition upon simultaneous assertion of both breath and apnea.
 19. Apparatus according to claim 18 wherein said fault detection means further detects a breath and apnea detection process fault condition where neither breath nor apnea is asserted for a predetermined period. 